Skip to content
This repository
Search
Pull requests
Issues
Gist
@fungzhanyang
Sign out
Watch 788
Star 17,884
Fork 4,721 alvarotrigo/fullPage.js
Code  Issues 89  Pull requests 14  Projects 0  Wiki  Pulse  Graphs
Branch: master Find file Copy pathfullPage.js/examples/demoPage.html
233c753  on 20 Dec 2016
@alvarotrigo alvarotrigo - Examples: updating examples dropdown + scrollOverflowReset + change…
4 contributors @alvarotrigo @mlhDevelopment @invalid-email-address @user501254
RawBlameHistory
179 lines (161 sloc)  6.16 KB
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>fullPage.js One Page Scroll Sites</title>
    <meta name="author" content="Alvaro Trigo Lopez" />
    <meta name="description" content="fullPage plugin by Alvaro Trigo. Create fullscreen pages fast and simple. One page scroll like iPhone website." />
    <meta name="keywords"  content="fullpage,jquery,alvaro,trigo,plugin,fullscren,screen,full,iphone5,apple" />
    <meta name="Resource-type" content="Document" />


    <link rel="stylesheet" type="text/css" href="../jquery.fullPage.css" />
    <link rel="stylesheet" type="text/css" href="examples.css" />


    <style>
        /* Sections
         * --------------------------------------- */
        #section0 img,
        #section1 img{
            margin: 20px 0 0 0;
        }
        #section2 img{
            margin: 20px 0 0 52px;
        }
        #section3 img{
            bottom: 0px;
            position: absolute;
            margin-left: -420px;
        }
        .intro p{
            width: 50%;
            margin: 0 auto;
            font-size: 1.5em;
        }
        .twitter-share-button{
            position: absolute;
            z-index: 99;
            right: 149px;
            top: 9px;
        }
    </style>
    <!--[if IE]>
    <script type="text/javascript">
        var console = { log: function() {} };
    </script>
    <![endif]-->

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>

    <script type="text/javascript" src="../jquery.fullPage.js"></script>
    <script type="text/javascript" src="examples.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#fullpage').fullpage({
                sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'],
                anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'],
                menu: '#menu',
                scrollingSpeed: 1000
            });
        });
    </script>

</head>
<body>


<select id="demosMenu">
    <option selected>Choose Demo</option>
    <option id="activeSlide">Active section and slide</option>
    <option id="apple">Apple iPhone demo (animations)</option>
    <option id="autoHeight">Auto height</option>
    <option id="autoplayVideoAndAudio">Autoplay Video and Audio</option>
    <option id="backgrounds">Background images</option>
    <option id="backgroundsFixed">Fixed fullscreen backgrounds</option>
    <option id="backgroundVideo">Background video</option>
    <option id="callbacks">Callbacks</option>
    <option id="continuousHorizontal">Continuous horizontal</option>
    <option id="continuousVertical">Continuous vertical</option>
    <option id="css3">CSS3</option>
    <option id="dragAndMove">Drag And Move</option>
    <option id="easing">Easing</option>
    <option id="fadingEffect">Fading Effect</option>
    <option id="fixedHeaders">Fixed headers</option>
    <option id="gradientBackgrounds">Gradient backgrounds</option>
    <option id="interlockedSlides">Interlocked Slides</option>
    <option id="looping">Looping</option>
    <option id="methods">Methods</option>
    <option id="navigationV">Vertical navigation dots</option>
    <option id="navigationH">Horizontal navigation dots</option>
    <option id="noAnchor">No anchor links</option>
    <option id="normalScroll">Normal scrolling</option>
    <option id="normalScrollElements">Normal scroll elements</option>
    <option id="offsetSections">Offset sections</option>
    <option id="oneSection">One single section</option>
    <option id="resetSliders">Reset sliders</option>
    <option id="responsiveAutoHeight">Responsive Auto Height</option>
    <option id="responsiveHeight">Responsive Height</option>
    <option id="responsiveWidth">Responsive Width</option>
    <option id="responsiveSlides">Responsive Slides</option>
    <option id="scrollBar">Scroll bar enabled</option>
    <option id="scrollHorizontally">Scroll horizontally</option>
    <option id="scrollOverflow">Scroll inside sections and slides</option>
    <option id="scrollOverflowReset">ScrollOverflow Reset</option>
    <option id="scrollingSpeed">Scrolling speed</option>
</select>

<ul id="menu">
    <li data-menuanchor="firstPage"><a href="#firstPage">First slide</a></li>
    <li data-menuanchor="secondPage"><a href="#secondPage">Second slide</a></li>
    <li data-menuanchor="3rdPage"><a href="#3rdPage">Third slide</a></li>
    <li data-menuanchor="4thpage"><a href="#4thpage">Fourth slide</a></li>
</ul>


<div id="fullpage">
    <div class="section " id="section0">
        <h1>fullPage.js</h1>
        <input type="hidden" name="id" value="1" />
        <p>Create Beautiful Fullscreen Scrolling Websites</p>
        <img src="imgs/fullPage.png" alt="fullPage" />
    </div>
    <div class="section active" id="section1">
        <div class="slide">
            <div class="intro">
                <h1>Create Sliders</h1>
                <p>Not only vertical scrolling but also horizontal scrolling. With fullPage.js you will be able to add horizontal sliders in the most simple way ever.</p>
                <img src="imgs/slider.png" alt="slider" />
            </div>

        </div>
        <div class="slide">
            <div class="intro">
                <img src="imgs/1.png" alt="simple" />
                <h1>Simple</h1>
                <p>Easy to use. Configurable and customizable.</p>
            </div>
        </div>
        <div class="slide">
            <div class="intro">
                <img src="imgs/2.png" alt="Cool" />
                <h1>Cool</h1>
                <p>It just looks cool. Impress everybody with a simple and modern web design!</p>
            </div>
        </div>
        <div class="slide">
            <div class="intro">
                <img src="imgs/3.png" alt="Compatible" />
                <h1>Compatible</h1>
                <p>Working in modern and old browsers too! IE 8 users don't have the fault of using that horrible browser! Lets give them a chance to see your site in a proper way!</p>
            </div>
        </div>
    </div>
    <div class="section" id="section2">
        <div class="intro">
            <h1>Example</h1>
            <p>HTML markup example to define 4 sections.</p>
            <img src="imgs/example2.png" alt="example" />
        </div>
    </div>
    <div class="section" id="section3">
        <div class="intro">
            <h1>Working On Tablets</h1>
            <p>
                Designed to fit to different screen sizes as well as tablet and mobile devices.
                <br /><br /><br /><br /><br /><br />
            </p>
        </div>
        <img src="imgs/tablets.png" alt="tablets" />
    </div>
</div>

</body>
</html>